package map.android.baidu.carpool.response;

import com.baidu.lbs.net.http.response.ComNetResponse;

import java.io.Serializable;

/**
 * Created by zhangtongyu on 15/3/23.
 * main模块订单取消接口response
 */
public class OrderCancelResponse extends ComNetResponse implements Serializable {

    private static final long serialVersionUID = 7765679958507648669L;

    private int errNo;
    public OrderCancel data;

    public class OrderCancel implements Serializable {

        private static final long serialVersionUID = -1717672239229584352L;
        //取消订单的状态 1为取消成功，2为等待车主确认
        public int orderStatusId;
        public String orderStatusDesc ="";

    }

    @Override
    public boolean isBadResponse() {
        return false;
    }

    @Override
    public int getErrorNo() {
        return errNo;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

}
